//
//  MyTabBarButton.h
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class MyTabBarButton;

@protocol MyTabBarButtonDelegate <NSObject>

- (void)myTabBarIconButtonClick:(MyTabBarButton *)myButton;

@end

@interface MyTabBarButton : UIButton

@property (nonatomic, weak) id<MyTabBarButtonDelegate> delegate;

@property (nonatomic, strong) UIButton *iconBtn;

- (void)setTabBarImageUrl:(NSString *)imageUrl  title:(NSString *)titleStr;

@end

NS_ASSUME_NONNULL_END
